package com.hdax.dm.api;

import com.hdax.dm.entity.user.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public interface UserControllerApi {

    @PostMapping(path = "rest/user/phone")
    public User user(@RequestParam("phone")String phone);
}
